<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数值型</title>
		<script>			
			var a=123;				//整型
			var b=123.12;			//浮点型
			var c=Number.MAX_VALUE; //Number的最大值:1.7976931348623157e+308
			var d=Number.MIN_VALUE  //Number大于0的最小值:5e-324
			var e=a*c;				//将变量a和变量c进行乘法运算
			var f="aaa"*"bbb";		//将两个字符串相乘
			console.log(e);         //输出一个Infinity
			console.log(f);			//输出一个NaN
			console.log(typeof e);	//返回number
			console.log(typeof f);  //返回number
			console.log(typeof a);
		</script>
	</head>
	<body>
	</body>
</html>
